<#assign className = table.className>   
package $

import com.xiaoshi.pojo.Pojo;

public class ${className} extends Pojo{
	
	<#list table.cols as column>
	<#if column.comment!=''>/** ${column.comment!''} */</#if>
	private ${column.javaType} ${column.proName};
	</#list>

<#list table.cols as column>
	public void set${column.upFirstProName}(${column.javaType} value) {
		this.${column.proName} = value;
	}

	public ${column.javaType} get${column.upFirstProName}() {
		return this.${column.proName};
	}

	<#if column.javaType=='Date'>
	public String get${column.upFirstProName}Str() {
		return DateUtil.format(this.${column.proName},"yyyy-MM-dd HH:mm");
	}
	
	</#if>
</#list>
}